﻿#ifndef DIALOGSHEETNAMESELECT_H
#define DIALOGSHEETNAMESELECT_H

#include "Tool/qxlsxhelper.h"
#include <QDialog>
#include <QGridLayout>

namespace Ui {
class DialogSheetNameSelect;
}

class DialogSheetNameSelect : public QDialog
{
    Q_OBJECT

public:
    explicit DialogSheetNameSelect(QWidget *parent = nullptr);
    ~DialogSheetNameSelect();
    void setQxlsxHelper(qxlsxHelper* xlsxhelper);
    void SetSheetName(const QStringList& sheetNames);
    QString GetSheetName();
     QVector<QString> GetCheckItem();
    void ShowSheetHeaders(const QList<QString>& headers);
private slots:
    void onSelectIndexChange(int nid);
private:
    Ui::DialogSheetNameSelect *ui;
    QString _selectSheetName;
    qxlsxHelper * _qxlsxHelper =nullptr;

};

#endif // DIALOGSHEETNAMESELECT_H
